package bancosys.tec.exception.informer;

import java.util.List;

import bancosys.tec.exception.LocalizedMessageHolder;

/**
 * Helper that provides friendly messages to the user given system exceptions.
 * 
 * @author lundberg
 */
public interface UserFriendlyExceptionInformer {

    /**
     * A list of all business messages on the default locale
     * 
     * @param t throwable
     * @return list of business messages
     */
    List<LocalizedMessageHolder> getUserFriendlyMessages(Throwable t);
}
